package com.group9.mapper;

import com.group9.pojo.ActivityFruit;
import com.group9.pojo.ActivityFruitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ActivityFruitMapper {
    int countByExample(ActivityFruitExample example);

    int deleteByExample(ActivityFruitExample example);

    int deleteByPrimaryKey(Integer fruitActivityId);

    int insert(ActivityFruit record);

    int insertSelective(ActivityFruit record);

    List<ActivityFruit> selectByExample(ActivityFruitExample example);

    ActivityFruit selectByPrimaryKey(Integer fruitActivityId);

    int updateByExampleSelective(@Param("record") ActivityFruit record, @Param("example") ActivityFruitExample example);

    int updateByExample(@Param("record") ActivityFruit record, @Param("example") ActivityFruitExample example);

    int updateByPrimaryKeySelective(ActivityFruit record);

    int updateByPrimaryKey(ActivityFruit record);
}